package com.bdzl.admin.service.data;

import com.bdzl.pub.entity.data.VehModelDO;
import com.bdzl.pub.vo.data.VehModelVO;
import org.springframework.cloud.openfeign.FeignClient;

import java.util.List;
import java.util.Map;

/**
 * 车型表
 * 
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-03-23 13:57:43
 */
public interface VehModelService {
	
	VehModelDO get(Integer modelId);
	
	List<VehModelDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(VehModelDO vehModel);
	
	int update(VehModelDO vehModel);
	
	int remove(Integer modelId);
	
	int batchRemove(Integer[] modelIds);


	/**
	 * 获取 车系 车系表所关联的外键 信息
	 * @param map
	 * @return
	 */
	List<VehModelVO> vehAll(Map<String, Object> map);
	int vehAllcount(Map<String, Object> map);
}
